<?php

namespace App\Api\Logic\Validate;


class ApplyStoreValidate extends BaseValidate
{
    protected $rule = [
        'name'=>'required',
        'business_img'=>'required',
        'door_img'=>'required',
        'room_img'=>'required',
        'other_img'=>'required',
        'id_card_front_img'=>'required',
        'id_card_op_img'=>'required',
    ];

    protected $message = [
        'name.required'=>'请输入店铺名称',
        'business_img.required'=>'请上传营业执照',
        'door_img.required'=>'请上传门头照',
        'room_img.required'=>'请上传场景照',
        'other_img.required'=>'请上传其他照片',
        'id_card_front_img.required'=>'请上传身份证正面',
        'id_card_op_img.required'=>'请上传身份证反面'
    ];

    protected $scene = [
        'applyStore'=>'name,other_img,id_card_front_img,id_card_op_img'
    ];

}
